/* service/newsInfoDetail/newsInfoDetail.wxss */
// page {
//   background: linear-gradient(360deg, #F5F5F5 0%, #F5F5F5 24.93%, #ED3D48 100%);
// }

.news_info_detail {
  padding: 28rpx 24rpx calc(env(safe-area-inset-bottom) + 220rpx);
  background: linear-gradient(360deg, #F5F5F5 0%, #F5F5F5 24.93%, #0B6BB5 100%);

  .image {
    width: 100%;
    height: 434rpx;
    border-radius: 24rpx;
    overflow: hidden;

    image {
      width: 100%;
      height: 100%;
    }
  }

  .content {
    margin-top: 30rpx;
    border-radius: 24rpx;
    padding: 36rpx 28rpx 122rpx;
    background-color: #fff;

    .title {
      font-size: 40rpx;
      font-weight: bold;
      color: #000000;
    }

    .subtitle {
      margin-top: 20rpx;
      font-size: 28rpx;
      color: #262626;
    }

    .avatar_date {
      margin-top: 20rpx;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .avater {
        display: flex;

        image {
          width: 36rpx;
          height: 36rpx;
          border-radius: 50%;
          margin-left: -8rpx;
          position: relative;

          &:nth-child(1) {
            margin-left: 0;
          }
        }

        .look_text {
          margin-left: 12rpx;
          font-size: 24rpx;
          color: #8D91A5;
        }
      }

      .date {
        font-size: 24rpx;
        color: #7A7979;
      }
    }

    .desc {
      margin-top: 28rpx;
      font-size: 28rpx;
      line-height: 1.8;
      color: #000000;
    }
  }

  .register {
    position: fixed;
    z-index: 99;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28rpx 48rpx calc(env(safe-area-inset-bottom) + 28rpx);
    background: #fff;
  }

  .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 94rpx;
    border-radius: 200rpx;
    background-color: #0B6BB5;

    image {
      width: 48rpx;
      height: 48rpx;
      flex-shrink: 0;
    }

    text {
      margin-left: 8rpx;
      font-size: 32rpx;
      font-weight: bold;
      color: #fff;
    }
  }

  .popup {
    background-color: #fff;
    position: relative;
    width: 658rpx;
    padding: 38rpx 48rpx;
    box-sizing: border-box;

    .bg {
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      width: 100%;
    }

    .popup_main {
      position: relative;
      z-index: 2;

      .title {
        font-size: 36rpx;
        font-weight: bold;
        color: #802626;

        text {
          margin-left: 18rpx;
          font-size: 24rpx;
          color: #ED3E49;
        }
      }

      .input_box {
        margin-top: 44rpx;
        border: 2rpx solid #ED3E49;
        border-radius: 20rpx;

        input {
          width: 100%;
          box-sizing: border-box;
          height: 100rpx;
          padding: 0 20rpx;
          font-size: 28rpx;
          color: #000000;
        }
      }
    }

    .button {
      padding: 0 24rpx;

      .btn {
        margin-top: 48rpx;
        background-color: #FF4F1A;
      }
    }
  }
}